package com.bear.entity;

import lombok.Data;

import javax.persistence.Entity;   //todo 如果无法构建，则是引入的jar包的问题
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * @author LiuShanshan
 * @version V1.0
 * @Description
 */
@Data
@Entity
@Table(name="tb_product")
public class Product {
    @Id
    private Long id;
    private String productName;
    private Integer status;
    private BigDecimal price;
    private String productDesc;
    private String caption;
}
